import Vuex from 'vuex'
import vue from 'vue'
import mutations from './public/mutation';
import actions from './public/action';
import state from './public/state';
import getters from './public/getter';
import modules from './module/index'

vue.use(Vuex)
const store = new Vuex.Store({
    state: state,
    getters: getters,
    mutations,
    actions,
    modules: modules
});
export default store;